package org.suk.dp.decorator;

/**
 * Description: <br/>
 * @version V1.0  2017/6/20 13:55  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class DecoratorClient {
    public static void main(String[] args) {
        Person person = new Person("小菜");
        System.out.println("***************第一种装扮*****************");
        Sneakers sneakers = new Sneakers();
        BigTrouser bigTrouser = new BigTrouser();
        TShirts tShirts = new TShirts();
        sneakers.decorate(person);
        bigTrouser.decorate(sneakers);
        tShirts.decorate(bigTrouser);
        tShirts.show();
    }
}
